from app.core.tool import Tool
from app.core.plugin import BasePlugin


class ExamplePlugin(BasePlugin):
    @staticmethod
    def initialize(api):
        api.add_category("Plugin Tools", icon="plugin")

        api.add_tool(Tool(
            name="PDF Converter",
            command="python -m plugins.example_plugin.pdf_converter",
            category="Plugin Tools",
            description="Convert PDF files to Word documents"
        ))

        api.add_tool(Tool(
            name="Data Visualizer",
            command="python -m plugins.example_plugin.data_visualizer",
            category="Plugin Tools",
            description="Generate interactive data visualizations"
        ))